|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmisc.CommandLineOptions
public class CommandLineOptions
This class is used to interpret commandline parameters specified when starting Genius.
| Field Summary | |
|---|---|
java.util.List<java.lang.String> |
agents
Option "a", specify a list of agents for the commandline runner. |
java.lang.String |
domain
Option "d", specify a domain. |
boolean |
newTournament
Option "s", automatically open new tournament tab on start up. |
java.lang.String |
outputFile
Option "f", specify the output file for the commandline runner. |
java.util.List<java.lang.String> |
profiles
Option "p", specify a list of profiles for the commandline runner. |
java.lang.String |
protocol
Option "r", specify a protocol for the commandline runner. |
boolean |
quitWhenTournamentDone
Option "q", automatically quit after the tournament finished. |
boolean |
startTournament
Option "t", automatically start tournament on start up. |
| Constructor Summary | |
|---|---|
CommandLineOptions()
|
|
| Method Summary | |
|---|---|
void |
parse(java.lang.String[] args)
Method used to parse the commandline options. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean newTournament
public boolean startTournament
public boolean quitWhenTournamentDone
public java.util.List<java.lang.String> agents
public java.util.List<java.lang.String> profiles
public java.lang.String protocol
public java.lang.String domain
public java.lang.String outputFile
| Constructor Detail |
|---|
public CommandLineOptions()
| Method Detail |
|---|
public void parse(java.lang.String[] args)
args - arguments given to the commandline.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||